<dl class="inline">
	<dt>Resource:</dt>
	<dd><?php echo $this->escape($this->data->resource->name); ?></dd>

	<dt>Bestand:</dt>
	<dd><?php echo $this->escape($this->data->resource->curValue); ?> / <?php echo $this->escape($this->data->resource->maxValue); ?> Einheiten</dd>

	<dt>Aktionen:</dt>
	<dd>
		<?php 
			if(is_array($this->data->actions)) {
				$arr = array();
				foreach($this->data->actions as $action) {
					$url		= $this->url(array('type' => 'tile-resource', 'actionId' => $action->id, 'tileId' => $this->tileId, 'sourceId' => $this->data->resource->id), 'QueueAddResource');
					$arr[]	= '<a href="' . $url . '">' . $this->escape($action->name) . '</a>';
				}
				
				echo implode(', ', $arr);				
			} else {
				echo '-';
			}
		?>
	</dd>
</dl>